package com.neuedu.his.entity;

import com.neuedu.util.Column;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 项目：      his
 * 类名:       User
 * 创建时间：  2020/12/22  14:06
 * 描述 :     用户实体
 * 作者 :     张金山
 * QQ :     314649444
 * Site:      https://jshand.gitee.io
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {


    @Column("user_id")
    private Integer userId;

    private String username;
    private String password;
    private String realname;
    private String telephone;

    @Column("dept_id")
    private Integer deptId;

    @Column("user_type")
    private Integer userType;

    @Column("regist_level")
    private Integer registLevel;

    private Date lastlogin;

    private Integer active;
    private Date createtime;

}
